import Layout from "../layout/index.vue";
import { PERMISSION_KEY } from "@/constants/common";
const academicManageRoutes = [
    {
        path: "/academic",
        component: Layout,
        redirect: "/academic/index",
        meta: {
            title: "学术交流",
            icon: "ModelManage",
            onlyOneChild: true,
            hidden: false,
            permissionKey: PERMISSION_KEY[5].key,
        },
        children: [
            {
                path: "index",
                component: () => import("../pages/academicManage/index.vue"),
                name: "academic",
                meta: {
                    hidden: true,
                    title: "学术交流",
                    permissionKey: PERMISSION_KEY[5].key,
                },
            },
            {
                path: "detail/:id",
                name: "academicDetail",
                component: () => import("../pages/academicManage/detail.vue"),
                meta: {
                    hidden: true,
                    title: "学术交流详情",
                    activeMenu: "/academic/index",
                },
            },
        ],
    },
];
export default academicManageRoutes;
